﻿using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using SystemCenterSoa.DtoModel.FileManager;
using SystemCenterSoa.PoModel.Attendance_Management;
using SystemCenterSoa.PoModel.ContractModel;
using SystemCenterSoa.PoModel.Customer;
using SystemCenterSoa.PoModel.Operation;
using SystemCenterSoa.PoModel.SystemManager;
using SystemCenterSoa.PoModel.SystemSettings.InstituTions;
using SystemCenterSoa.PoModel.SystemSettings.QualificationAdministration;
using SystemCenterSoa.PoModel.SystemSetup.InstitutionSetting.PeopleManagement;

namespace SystemCenterSoa.Repository.CommonLib
{
    public class SystemCenterDbSoaContext:DbContext
    {
        /// <summary>
        /// 把 options通过base() 传给父类的构造函数
        /// </summary>
        /// <param name="options"></param>
        public SystemCenterDbSoaContext(DbContextOptions<SystemCenterDbSoaContext> options) : base(options)
        {

        }
        public DbSet<ModulePo> ModulePo { get; set; }
        public DbSet<RolePo> RolePo { get; set; }
        public DbSet<AdminUserPo> AdminUserPo { get; set; }
        public DbSet<WebSystemMenuPo> WebSystemMenuPo { get; set; }

        public DbSet<RoleModuleRelationPo> RoleModuleRelationPo { get; set; }
        public DbSet<AdminUserRoleRelationPo> AdminUserRoleRelationPo { get; set; }
        public DbSet<DictionaryTablePo> DictionaryTablePo { get; set; }
        public DbSet<DictionaryTypeTablePo> DictionaryTypeTablePo { get; set; }
        public DbSet<ArcTitltSettingPo> ArcTitltSettingPo { get; set; }

        public DbSet<FirstPartyPo> FirstPartyPo { get; set; }
        public DbSet<CustomerPo> CustomerPo { get; set; }
        public DbSet<SatisfactionSurveyPo> SatisfactionSurveyPo { get; set; }
        public DbSet<StateCityPo> StateCityPo { get; set; }
        public DbSet<China> China { get; set; }

        public DbSet<AgreementPo> AgreementPo { get; set; }
        public DbSet<ContractPo> ContractPo { get; set; }
        public DbSet<Contype> Contype { get; set; }
        public DbSet<FilePo> FilePo { get; set; }

        public DbSet<DepartmentOfManagementPo> DepartmentOfManagementPo { get; set; }
        public DbSet<DepartmentOfTypePo> DepartmentOfTypePo { get; set; }
        public DbSet<PeoplePo> PeoplePo { get; set; }
        public DbSet<QualificationManagementPo> QualificationManagementPo { get; set; }


        public DbSet<ApplyLeavePo> ApplyLeavePo { get; set; }
        public DbSet<BusinessTravelRequestPo> BusinessTravelRequestPo { get; set; }
        public DbSet<CompanyActivitiesPo> CompanyActivitiesPo { get; set; }
        public DbSet<DepartmentActivityPo> DepartmentActivityPo { get; set; }
        public DbSet<FieldApplicationPo> FieldApplicationPo { get; set; }
        public DbSet<NotClockPo> NotClockPo { get; set; }
        public DbSet<WorkOvertimeLeavePo> WorkOvertimeLeave { get; set; }
        public DbSet<FileUpLoadResult> FileUpLoadResult { get; set; }
        public DbSet<StructurePo> StructurePo { get; set; }
        public DbSet<ArchitecturePo> ArchitecturePo { get; set; }
        public DbSet<Operation_PoModel> Operation_PoModel { get; set; }
     
        public DbSet<AnnualLeaveStatisticsPo> AnnualLeaveStatisticsPo { get; set; }


        public DbSet<DepartmentOvertimeManagementPo> DepartmentOvertimeManagementPo { get; set; }

        public DbSet<EmployeeAttendanceSettingsPo> EmployeeAttendanceSettingsPo { get; set; }

        public DbSet<DepartmentListPo> DepartmentListPo { get; set; }

        public DbSet<HolidaySettingsPo> HolidaySettingsPo { get; set; }

        public DbSet<AnnualLeaveSetPo> AnnualLeaveSetPo { get; set; }

        public DbSet<UploadAttendancePo> UploadAttendancePo { get; set; }

        public DbSet<ComprehensiveStatisticsContractsProjectsPo> ComprehensiveStatisticsContractsProjectsPo { get; set; }

    }
}
